import { createStore } from 'vuex'
import dayjs from 'dayjs'

const store = createStore({
  
  state: {
	spinning:false,
	record:{},
	seachparams:{
		currentPage:1,
		pageSize:10,
		"articleAnthor": "",
		time:null,
		"articleSource": "",
		"articleTitle": "",
		"categoryCode": "",
		"endTime": "",
		"startTime": ""
	}
  },

  

  mutations: {
	recordChange(state,data){
		state.record=data
	},
	seachparamsChange(state,data){
		state.seachparams=data
	}
  },

  actions: {

  }
})

export default store